import 'package:flutter/widgets.dart';

{{#useWloc}}
import 'package:learning_content_admin_pannel.core/core/presentation/widgets/stateless_wloc.dart';
{{/useWloc}}

{{#useTheme}}
import 'dart:ui';
import 'package:learning_content_admin_pannel.core/core/presentation/theme/theme.dart';
{{/useTheme}}

{{#useTheme}}
part 'theme/styles.dart';
part 'theme/text_theme.dart';
part 'theme/theme.dart';
{{/useTheme}}

part 'view.dart';

{{#useWloc}}part 'wloc.dart';{{/useWloc}}

{{#useWloc}}
class {{widgetName.pascalCase()}} extends StatefulWidget {
  const {{widgetName.pascalCase()}}({
    super.key,
  });

  @override
  State<{{widgetName.pascalCase()}}> createState() => _{{widgetName.pascalCase()}}Wloc();
}
{{/useWloc}}

{{^useWloc}}
class {{widgetName.pascalCase()}} extends StatelessWidget {
  const {{widgetName.pascalCase()}}({
    super.key,
  });

  @override
  Widget build(BuildContext context) {
    return {{> widget_view_creation }};
  }
}
{{/useWloc}}
